/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.crab.dao;

import java.util.List;
import java.util.Map;

import com.kaaction.common.persistence.CrudDao;
import com.kaaction.common.persistence.annotation.MyBatisDao;
import com.kaaction.modules.crab.entity.CrabProduct;

/**
 * 商品管理DAO接口
 * @author huanghaiming
 * @version 2017-07-18
 */
@MyBatisDao
public interface CrabProductDao extends CrudDao<CrabProduct> {

	void updateIsShow(CrabProduct crabProduct);

	List<Map<String,Object>> selRecommendProduct();

	List<Map<String, Object>> selectProductName(List<String> asList);

	List<Map<String, Object>> selExchangeCouponProduct(String couponId);

	List<CrabProduct> getProducts(String couponId);

	void updateNum(String id);

	void updateNums(String orderNum);

	String getProductName(String productId);
	
}